home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
text
/
misc
/
ht.lha
/
hypertext
/
Rexx
/
test.dme
< prev
next >
Wrap
Text File
|
1990-12-23
|
531b
|
27 lines
/* this is a sample rexx macro to dump a file right into HT.... */
/* now get the filename we were called with */
parse arg name
/* if we don't have a full path name, build one... */
if (index(name, ":") = 0 & index(name, "/") = 0) then do
cur_dir = pragma(D)
if length(cur_dir) > lastpos(':' , cur_dir) then
name = cur_dir || '/' || name
else
name = cur_dir || name
end
/* make sure HT has started up... */
call startht.rexx()
/* and tell HT to load it */
address HT LOAD name
/* we're done */
exit